<?php
class RefuerzoHelper extends Helper{

   public function existe_refuerzo($bimestre, $year, $zona_id) {
        App::import('Model', 'Refuerzo');
        $this->Refuerzo = new Refuerzo;
        $this->data = $this->Refuerzo->find('first', array('fields'=>'Refuerzo.id', 
        												   'conditions'=>array('Refuerzo.bimestre'=>$year."-".$bimestre, 
        												   					   'Refuerzo.zona_id'=>$zona_id)));        
        return empty($this->data);
   }
} 
?>